package com.hankol.material.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.hankol.material.R
import com.hankol.material.bean.FolderListBean


/**
 * @author: 关忆北丶
 * @time: 2021/10/25 16:00
 * @description: 收藏夹
 */
class MaterialFolderAdapter : BaseQuickAdapter<FolderListBean, BaseViewHolder>(R.layout.item_material_folder) {
    override fun convert(helper: BaseViewHolder, item: FolderListBean) {
        helper.itemView.setBackgroundResource(R.drawable.shape_rf_8_ffffff)
        helper.setText(R.id.tv_folder_name, item.name)
    }
}